# message = input("Tell me something, and I will repeat it back to you: ")
# print(message)

# age = input('请输入数字：')
# age = int(age)
# if (age > 10):
#     print('大于10')
# else:
#     print('else')

a = 5
b = 2
# 取整
print(a // b)
# 取模
print(a % b)

# i = 0
# while i < 10:
#     print(i)
#     i += 1
#     if i > 5:
#         break
pets = ['dog', 'cat', 'dog', 'goldfish', 'cat', 'rabbit', 'cat']
print(pets)
# 从下标0开始查找，找到一个即停止
pets.remove('cat')
# while 'cat' in pets:
#     pets.remove('cat')
print(pets)
